/* ============================================================
   Continue — v2 "Editorial Minimal"
   Bakken & Bæck energy: tiny wordmark, vast whitespace, calm
   oversized type, numbered sections, grayscale→color hovers,
   tasteful scroll reveals. Built on the same design tokens.
   ============================================================ */

.v2 { overflow-x: hidden; }
.v2 a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* Section rhythm */
.blk { padding-block: clamp(80px, 13vw, 180px); }
.blk--tight { padding-block: clamp(64px, 9vw, 120px); }

/* Eyebrow / numbered section label */
.eyebrow {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 0.75rem; font-weight: var(--fw-medium);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 28px; margin-bottom: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--border-default);
}
.eyebrow .num { color: var(--text-strong); font-variant-numeric: tabular-nums; }
.eyebrow .lbl { color: var(--text-strong); }
.eyebrow .meta { margin-left: auto; color: var(--text-muted); letter-spacing: 0.1em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--border-default); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; }
.nav__logo { height: 22px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav__links a {
  font-size: 0.9375rem; font-weight: var(--fw-medium); letter-spacing: 0.01em;
  color: var(--text-muted); transition: color var(--dur-fast) var(--ease-out);
}
.nav__links a:hover { color: var(--text-strong); }
.nav__links a.is-cta { color: var(--text-strong); }
.nav__links a.is-cta::after {
  content: ""; display: block; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-out);
}
.nav__links a.is-cta:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero2 {
  min-height: 86vh; display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(72px, 14vh, 160px); padding-bottom: clamp(56px, 9vw, 110px);
}
.hero2__eyebrow {
  font-size: 0.8125rem; font-weight: var(--fw-medium);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: clamp(28px, 5vw, 56px);
}
.hero2__statement {
  font-weight: var(--fw-bold);
  font-size: clamp(2.5rem, 6.6vw, 5.75rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  max-width: 16ch;
  margin: 0;
  text-wrap: balance;
}
/* Rotating last word — seamless vertical roll (operators → advisors → …) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rotator {
  display: inline-block; height: 1.02em; line-height: 1.02;
  overflow: hidden; vertical-align: bottom;
}
.rotator__list {
  display: block; will-change: transform;
  animation: word-roll 12s infinite;
}
.rotator__list span { display: block; height: 1.02em; white-space: nowrap; }
@keyframes word-roll {
  0%, 14%   { transform: translateY(0); }
  18%, 33%  { transform: translateY(-20%); }
  37%, 52%  { transform: translateY(-40%); }
  56%, 71%  { transform: translateY(-60%); }
  75%, 100% { transform: translateY(-80%); }
}
@media (prefers-reduced-motion: reduce) {
  .rotator__list { animation: none; }
}

.hero2__sub {
  margin: clamp(28px, 4vw, 48px) 0 0;
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: var(--fw-regular);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 44ch;
}
.hero2__scroll {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: clamp(48px, 8vw, 96px);
  font-size: 0.75rem; font-weight: var(--fw-medium);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle);
}
.hero2__scroll .arrow { font-size: 1rem; animation: v2-bob 1.8s var(--ease-in-out) infinite; }
@keyframes v2-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .hero2__scroll .arrow { animation: none; } }

/* Link with animated underline */
.ulink { position: relative; font-weight: var(--fw-medium); }
.ulink::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(1); transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.ulink:hover::after { transform: scaleX(0); transform-origin: right; }

/* ---------- Collaborations ---------- */
.work__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px) clamp(20px, 2.5vw, 40px);
}
.work__item { display: block; }
.work__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md);
  overflow: hidden; background: var(--ink-100);
}
.work__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform var(--dur-slow) var(--ease-out);
}
.work__item:hover .work__media img { transform: scale(1.03); }
.work__name {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-top: 18px; font-size: 1.0625rem; font-weight: var(--fw-medium);
}
.work__name .arr { color: var(--text-subtle); transition: transform var(--dur-base) var(--ease-out); }
.work__item:hover .work__name .arr { transform: translate(3px, -3px); }
.work__desc { margin-top: 6px; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.45; max-width: 32ch; }

/* ---------- Capabilities (grouped) ---------- */
.caps { border-top: 1px solid var(--border-strong); }
.caps__group {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: clamp(16px, 4vw, 64px);
  padding-block: clamp(28px, 3.6vw, 48px);
  border-bottom: 1px solid var(--border-default);
}
.caps__cat {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 0.8125rem; font-weight: var(--fw-medium);
  letter-spacing: 0.04em; color: var(--text-strong);
}
.caps__cat .gnum { color: var(--text-subtle); font-variant-numeric: tabular-nums; }
.caps__items { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 0; }
.caps__items span {
  font-size: clamp(1.125rem, 2.2vw, 1.75rem); font-weight: var(--fw-medium);
  letter-spacing: -0.02em; line-height: 1.2; color: var(--text-strong);
}
.caps__items span:not(:last-child)::after {
  content: "·"; color: var(--text-subtle); margin: 0 0.5em; font-weight: var(--fw-regular);
}

/* ---------- Who we are ---------- */
.bios2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px) clamp(32px, 5vw, 80px); }
.bio2__photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
  border-radius: var(--radius-md); filter: grayscale(1);
  transition: filter var(--dur-slow) var(--ease-out);
  max-width: 320px;
}
.bio2:hover .bio2__photo { filter: grayscale(0); }
.bio2__name { margin-top: 28px; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: var(--fw-medium); letter-spacing: -0.02em; }
.bio2__role { margin-top: 4px; font-size: 0.875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.bio2__text { margin-top: 22px; font-size: 1.0625rem; line-height: 1.6; color: var(--text-body); max-width: 46ch; }

/* ---------- Clients marquee ---------- */
.clients__row {
  display: flex; gap: clamp(48px, 7vw, 96px); align-items: center; width: max-content;
  animation: v2-marquee 40s linear infinite;
}
.clients__mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients__row img { height: 26px; width: auto; display: block; opacity: 0.55; filter: grayscale(1); transition: opacity var(--dur-base) var(--ease-out); }
.clients__row img:hover { opacity: 1; }
@keyframes v2-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ---------- Apart (numbered editorial list) ---------- */
.apart2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); }
.apart2__item { border-top: 1px solid var(--border-strong); padding-top: 24px; }
.apart2__num { font-size: 0.8125rem; font-weight: var(--fw-medium); letter-spacing: 0.06em; color: var(--text-subtle); }
.apart2__txt { margin-top: 18px; font-size: clamp(1.125rem, 1.8vw, 1.4rem); font-weight: var(--fw-medium); line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- Testimonials ---------- */
.quotes2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.quote2 { border-top: 1px solid var(--border-default); padding-top: 32px; }
.quote2__text { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: var(--fw-regular); line-height: 1.35; letter-spacing: -0.015em; }
.quote2__foot { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.quote2__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.quote2__who { display: flex; flex-direction: column; }
.quote2__name { font-size: 0.9375rem; font-weight: var(--fw-medium); }
.quote2__role { font-size: 0.8125rem; color: var(--text-muted); }
.quote2__logo { height: 22px; width: auto; margin-left: auto; opacity: 0.7; }

/* ---------- CTA ---------- */
.cta2 { padding-block: clamp(100px, 16vw, 220px); text-align: center; }
.cta2__title {
  font-weight: var(--fw-medium); font-size: clamp(2.75rem, 9vw, 8rem);
  line-height: 0.98; letter-spacing: -0.04em; margin: 0;
}
.cta2__sub { margin: 32px auto 0; max-width: 52ch; font-size: 1.125rem; line-height: 1.6; color: var(--text-muted); }
.cta2__btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 48px;
  font-size: 1.0625rem; font-weight: var(--fw-medium);
  padding: 16px 28px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.cta2__btn:hover { background: var(--black); color: var(--white); }
.cta2__btn:active { transform: scale(0.98); }

/* ---------- Footer ---------- */
.foot2 { border-top: 1px solid var(--border-default); padding-block: 36px; }
.foot2__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot2__logo { height: 18px; width: auto; opacity: 0.7; }
.foot2__meta { font-size: 0.8125rem; color: var(--text-muted); }
.foot2__links { display: flex; gap: 24px; }
.foot2__links a { font-size: 0.8125rem; color: var(--text-muted); }
.foot2__links a:hover { color: var(--text-strong); }

/* ---------- Scroll reveal (per-section, staggered) ---------- */
.reveal {
  opacity: 0; transform: translateY(42px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* Section header "mask" reveal — the eyebrow rule wipes in */
.eyebrow { overflow: hidden; }
.eyebrow.reveal { transform: none; opacity: 1; }
.eyebrow.reveal > * { display: inline-block; opacity: 0; transform: translateY(110%); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.eyebrow.reveal.in > * { opacity: 1; transform: none; }
.eyebrow.reveal.in .lbl { transition-delay: 0.05s; }
.eyebrow.reveal.in .meta { transition-delay: 0.1s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .eyebrow.reveal > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .work__grid { grid-template-columns: repeat(2, 1fr); }
  .apart2 { grid-template-columns: 1fr; gap: 0; }
  .apart2__item { padding-block: 28px; }
  .quotes2 { grid-template-columns: 1fr; gap: 0; }
  .quote2 { padding-block: 32px; }
}
@media (max-width: 640px) {
  .work__grid { grid-template-columns: 1fr; }
  .bios2 { grid-template-columns: 1fr; }
  .bio2__photo { max-width: 240px; }
  .hero2__foot { flex-direction: column; align-items: flex-start; }
}
