/* Studio edition: monochrome restraint, architectural scale, one yellow moment. */
.st-hero {
  position: relative; overflow: hidden;
  min-height: min(86vh, 780px);
  display: flex; flex-direction: column; justify-content: center;
  border-bottom: 1px solid var(--line);
}
.st-hero h1 {
  font-size: clamp(3.4rem, 9.5vw, 7.8rem);
  font-weight: 640; letter-spacing: -0.035em; line-height: 0.96;
}
.st-hero h1 span { color: var(--yellow); }
.st-hero .st-sub {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-top: clamp(36px, 5vw, 64px); flex-wrap: wrap;
}
.st-hero .lede { max-width: 44ch; }
.st-glyph {
  position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
  height: 125%; width: auto; opacity: 0.07; filter: invert(1); pointer-events: none;
  user-select: none;
}
.st-stats { border-bottom: 1px solid var(--line); }
.st-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.st-stats .wrap > div { padding: clamp(32px, 4vw, 56px) clamp(16px, 2vw, 32px); }
.st-stats .wrap > div + div { border-left: 1px solid var(--line); }
.st-stats b { display: block; font-size: clamp(2.4rem, 4.4vw, 4rem); font-weight: 640; letter-spacing: -0.03em; line-height: 1; }
.st-stats span { display: block; margin-top: 14px; color: var(--muted); font-size: 0.92rem; line-height: 1.45; max-width: 24ch; }
@media (max-width: 900px) {
  .st-stats .wrap { grid-template-columns: 1fr 1fr; }
  .st-stats .wrap > div:nth-child(3) { border-left: 0; }
  .st-stats .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.st-index { border-bottom: 1px solid var(--line); }
.st-index a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  gap: 24px; padding: clamp(28px, 4.5vw, 56px) 0;
  border-top: 1px solid var(--line);
  transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.st-index a:hover { padding-left: clamp(12px, 2vw, 28px); }
.st-index a:hover .st-t { color: var(--gold); }
.st-index .st-t {
  font-size: clamp(2rem, 5.5vw, 4.4rem); font-weight: 640; letter-spacing: -0.03em; line-height: 1;
  transition: color 0.25s;
}
.st-index .st-d { color: var(--muted); font-size: 0.98rem; max-width: 30ch; text-align: right; }
@media (max-width: 700px) { .st-index .st-d { display: none; } }
.st-quote { background: var(--yellow); border-block: 1px solid var(--line); }
.st-quote .wrap { padding-block: clamp(72px, 11vw, 150px); }
.st-quote p {
  font-size: clamp(2rem, 5.8vw, 4.6rem); font-weight: 640; letter-spacing: -0.03em;
  line-height: 1.05; color: var(--ink); max-width: 18ch;
}
.st-quote cite { display: block; font-style: normal; margin-top: 28px; color: rgba(27, 25, 21, 0.65); font-size: 1rem; font-weight: 500; }
.st-work { border-bottom: 1px solid var(--line); }
.st-work .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.st-work .wrap > a { padding: clamp(32px, 4vw, 56px) clamp(20px, 2.5vw, 40px); border-left: 1px solid var(--line); }
.st-work .wrap > a:first-child { border-left: 0; padding-left: 0; }
.st-work h3 { font-size: 1.5rem; margin: 10px 0 12px; }
.st-work p { color: var(--muted); font-size: 0.95rem; }
.st-work a:hover h3 { color: var(--gold); }
@media (max-width: 800px) {
  .st-work .wrap { grid-template-columns: 1fr; }
  .st-work .wrap > a { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .st-work .wrap > a:first-child { border-top: 0; }
}
.st-logos { border-bottom: 1px solid var(--line); }
.st-logos .wrap { display: grid; grid-template-columns: repeat(6, 1fr); }
.st-logos .wrap > div {
  aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center;
  border-left: 1px solid var(--line); padding: 18px;
}
.st-logos .wrap > div:nth-child(6n+1) { border-left: 0; }
.st-logos .wrap > div:nth-child(n+7) { border-top: 1px solid var(--line); }
.st-logos img { max-height: 52px; max-width: 100px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.75; transition: filter 0.25s, opacity 0.25s; }
.st-logos .wrap > div:hover img { filter: none; opacity: 1; }
@media (max-width: 800px) {
  .st-logos .wrap { grid-template-columns: repeat(3, 1fr); }
  .st-logos .wrap > div:nth-child(6n+1) { border-left: 1px solid var(--line); }
  .st-logos .wrap > div:nth-child(3n+1) { border-left: 0; }
  .st-logos .wrap > div:nth-child(n+4) { border-top: 1px solid var(--line); }
}
.st-about .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(32px, 6vw, 96px); padding-block: clamp(64px, 9vw, 128px); align-items: center;
}
.st-about img { border-radius: 0; }
.st-about p { font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.5; letter-spacing: -0.01em; max-width: 30ch; }
.st-about .muted { color: var(--muted); font-size: 1rem; margin-top: 18px; max-width: 44ch; letter-spacing: 0; }
@media (max-width: 800px) { .st-about .wrap { grid-template-columns: 1fr; } .st-about img { max-width: 340px; } }
.switcher {
  position: fixed; bottom: 18px; right: 18px; z-index: 60;
  background: var(--ink); color: #f2efe6; border-radius: 999px;
  padding: 8px 14px; font-size: 0.85rem; font-weight: 600;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 10px 30px rgba(27, 25, 21, 0.3);
}
.switcher a { opacity: 0.55; }
.switcher a:hover { opacity: 0.9; }
.switcher a.cur { opacity: 1; color: var(--yellow); }

/* Studio method page */
.st-cells { border-block: 1px solid var(--line); }
.st-cells .wrap { display: grid; grid-template-columns: repeat(5, 1fr); }
.st-cells .wrap > div { padding: clamp(28px, 3.5vw, 48px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.st-cells .wrap > div:first-child { border-left: 0; }
.st-cells .st-letter { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 640; letter-spacing: -0.03em; line-height: 1; color: var(--gold); }
.st-cells h3 { font-size: 1.1rem; margin: 14px 0 8px; }
.st-cells p { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 900px) {
  .st-cells .wrap { grid-template-columns: 1fr; }
  .st-cells .wrap > div { border-left: 0; border-top: 1px solid var(--line); }
  .st-cells .wrap > div:first-child { border-top: 0; }
}
.st-pillars { border-bottom: 1px solid var(--line); }
.st-pillars .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.st-pillars .wrap > div { padding: clamp(28px, 3.5vw, 48px) clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.st-pillars .wrap > div:nth-child(4n+1) { border-left: 0; }
.st-pillars .wrap > div:nth-child(n+5) { border-top: 1px solid var(--line); }
.st-pillars small { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 6px; }
.st-pillars .st-pname { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 640; letter-spacing: -0.02em; line-height: 1.1; }
.st-pillars p { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }
@media (max-width: 900px) {
  .st-pillars .wrap { grid-template-columns: 1fr 1fr; }
  .st-pillars .wrap > div:nth-child(4n+1) { border-left: 1px solid var(--line); }
  .st-pillars .wrap > div:nth-child(2n+1) { border-left: 0; }
  .st-pillars .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.st-page-head { border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.st-page-head .wrap { padding-block: clamp(56px, 8vw, 110px); }
.st-page-head h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 640; letter-spacing: -0.035em; line-height: 0.98; }
.st-page-head h1 span { color: var(--yellow); }
.st-page-head .lede { margin-top: 28px; }
/* Studio work page */
.st-cases { border-bottom: 1px solid var(--line); }
.st-cases > .wrap > div { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; gap: clamp(20px, 3vw, 56px); align-items: baseline; padding: clamp(32px, 4.5vw, 56px) 0; border-top: 1px solid var(--line); }
.st-cases > .wrap > div:first-child { border-top: 0; }
.st-cases .st-ct { font-size: clamp(1.7rem, 3.6vw, 2.9rem); font-weight: 640; letter-spacing: -0.025em; line-height: 1.05; }
.st-cases .st-cm { display: block; margin-top: 10px; color: var(--muted); font-size: 0.92rem; }
.st-cases .st-cd { color: var(--body); font-size: 1rem; max-width: 52ch; }
@media (max-width: 800px) { .st-cases > .wrap > div { grid-template-columns: 1fr; gap: 12px; } }
.st-clients .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.st-clients .wrap > div { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 22px; border-left: 1px solid var(--line); }
.st-clients .wrap > div:nth-child(4n+1) { border-left: 0; }
.st-clients .wrap > div:nth-child(n+5) { border-top: 1px solid var(--line); }
.st-clients img { max-height: 52px; max-width: 110px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; transition: filter 0.25s, opacity 0.25s; }
.st-clients .wrap > div:hover img { filter: none; opacity: 1; }
.st-clients b { font-weight: 640; font-size: 1.05rem; letter-spacing: -0.01em; }
.st-clients span { color: var(--muted); font-size: 0.82rem; }
@media (max-width: 800px) {
  .st-clients .wrap { grid-template-columns: 1fr 1fr; }
  .st-clients .wrap > div:nth-child(4n+1) { border-left: 1px solid var(--line); }
  .st-clients .wrap > div:nth-child(2n+1) { border-left: 0; }
  .st-clients .wrap > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Orbital pillars visual */
.orbital { display: flex; justify-content: center; margin: clamp(8px, 2vw, 24px) 0 clamp(36px, 5vw, 64px); }
.orbital svg { width: min(680px, 100%); height: auto; }
@media (max-width: 700px) { .orbital { display: none; } }
/* Yellow band with collage */
.st-quote .band-split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.st-quote .band-split .qframe { background: #fffdf8; padding: 10px; box-shadow: 0 30px 70px rgba(27, 25, 21, 0.28); }
@media (max-width: 800px) { .st-quote .band-split { grid-template-columns: 1fr; } }

/* Studio prose pages */
.st-page-head + .wrap, .st-page-head + section.tight { padding-top: clamp(40px, 6vw, 72px); }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 640; letter-spacing: -0.025em; }

/* Client wall v2: bigger logos, hover description card */
.st-clients .wrap > div { position: relative; overflow: hidden; min-height: 190px; padding: 26px; }
.st-clients img { max-height: 72px; max-width: 140px; }
.st-clients .wc { position: absolute; inset: 0; background: rgba(251, 249, 244, 0.97); padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; opacity: 0; transition: opacity 0.25s; }
.st-clients .wrap > div:hover .wc, .st-clients .wrap > div:focus-within .wc { opacity: 1; }
.st-clients .wc b { color: var(--gold); font-size: 0.95rem; }
.st-clients .wc p { font-size: 0.88rem; color: var(--body); line-height: 1.5; }
@media (hover: none) { .st-clients .wc { display: none; } }

/* Work examples as boxed cards, 2-col */
.st-cases > .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: clamp(24px, 3vw, 40px) clamp(48px, 6vw, 72px); }
.st-cases > .wrap > div {
  display: block; border: 1px solid var(--line); background: var(--card);
  padding: clamp(24px, 3vw, 36px); border-top: 0; border-left: 0; border-right: 0;
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.st-cases > .wrap > div:first-child { border-top: 1px solid var(--line); }
.st-cases > .wrap > div:hover { transform: translateY(-4px); border-color: rgba(233, 193, 39, 0.8); box-shadow: 0 16px 40px rgba(27, 25, 21, 0.08); }
.st-cases .st-ct { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.st-cases .st-cd { margin-top: 14px; font-size: 0.95rem; }
.st-cases .arrow { display: none; }
@media (max-width: 800px) { .st-cases > .wrap { grid-template-columns: 1fr; } }

/* Stage photo strip */
.stage-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stage-strip img { width: 100%; height: 240px; object-fit: cover; }
@media (max-width: 800px) { .stage-strip { grid-template-columns: 1fr; } .stage-strip img { height: 200px; } }
.pillar-tiles[style*="repeat(5"] > div { border-top: 3px solid var(--yellow); }
@media (max-width: 1000px) { .pillar-tiles[style*="repeat(5"] { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 540px) { .pillar-tiles[style*="repeat(5"] { grid-template-columns: 1fr !important; } }

/* Case cards with background visuals */
.st-cases > .wrap > div[style*="background-image"] { background-size: cover !important; background-position: center; }

/* Collaboration stories */
.collab-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.collab {
  border: 1px solid var(--line); background: var(--card); padding: clamp(24px, 3vw, 34px);
  display: flex; gap: 18px; align-items: flex-start;
}
.collab .av {
  flex: none; width: 64px; height: 64px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); display: flex; align-items: center; justify-content: center;
  font-weight: 650; font-size: 1.2rem; letter-spacing: 0.02em;
}
.collab .av img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.collab b { display: block; font-weight: 640; font-size: 1.1rem; }
.collab small { color: var(--gold); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem; }
.collab p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
@media (max-width: 800px) { .collab-grid { grid-template-columns: 1fr; } }

/* Timeline with photo rail */
.tl-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tl-photos { display: grid; gap: 16px; position: sticky; top: 100px; }
.tl-photos img { width: 100%; height: 190px; object-fit: cover; }
.tl-photos figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 6px; }
@media (max-width: 900px) { .tl-grid { grid-template-columns: 1fr; } .tl-photos { position: static; grid-template-columns: 1fr 1fr; } }

/* Publications with cover visuals */
.pub-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; border: 1px solid var(--line); background: var(--card); padding: clamp(24px, 3.5vw, 40px); }
.pub-row + .pub-row { margin-top: 20px; }
.pub-row .pimg { background: #fffdf8; border: 1px solid var(--line-soft); padding: 12px; }
.pub-row .pimg img { width: 100%; height: auto; }
@media (max-width: 800px) { .pub-row { grid-template-columns: 1fr; } }

/* Pain-point boxes (advisory) */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pains > div { border: 1px solid var(--line); background: var(--card); padding: 22px; font-weight: 600; font-size: 1.02rem; letter-spacing: -0.01em; border-left: 3px solid var(--yellow); }
@media (max-width: 900px) { .pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pains { grid-template-columns: 1fr; } }

/* Wider nav pill */
.nav .btn { padding: 13px 34px; }

/* Flip cards for work examples */
.st-cases > .wrap { perspective: 1200px; }
.flip { position: relative; min-height: 300px; border: 0 !important; padding: 0 !important; background: none !important; overflow: visible !important; }
.flip:hover { transform: none !important; box-shadow: none !important; }
.flip-inner { position: relative; width: 100%; height: 100%; min-height: 300px; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.25, 1); transform-style: preserve-3d; }
.flip:hover .flip-inner, .flip:focus-within .flip-inner { transform: rotateY(180deg); }
.flip-front, .flip-back {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background-size: cover; background-position: center;
}
.flip-front .headline { font-size: clamp(1.3rem, 2.1vw, 1.7rem); font-weight: 640; letter-spacing: -0.02em; line-height: 1.2; }
.flip-front .cname { color: var(--muted); font-size: 0.9rem; }
.flip-back { transform: rotateY(180deg); background: var(--ink); color: #f2efe6; justify-content: center; }
.flip-back .tag { color: var(--yellow); }
.flip-back .st-cm { color: rgba(242, 239, 230, 0.6); }
.flip-back .st-cd { color: rgba(242, 239, 230, 0.85); }
@media (hover: none) {
  .flip { min-height: 0; }
  .flip-inner { min-height: 0; }
  .flip:hover .flip-inner, .flip:focus-within .flip-inner { transform: none; }
  .flip-front, .flip-back { position: static; transform: none; }
  .flip-back { background: var(--card); color: var(--body); border-top: 0; }
  .flip-back .st-cd { color: var(--body); }
  .flip-back .st-cm { color: var(--muted); }
}
@media (prefers-reduced-motion: reduce) { .flip-inner { transition: none; } }

/* Static outcome-headline cards */
.st-cases .headline { display: block; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 640; letter-spacing: -0.02em; line-height: 1.22; margin: 10px 0 8px; }
.st-cases > .wrap > div[style*="background-image"] { display: flex; flex-direction: column; justify-content: flex-end; }
.st-cases .st-cd { margin-top: 12px; }
