/* Shared site styles. Palette extracted from https://bloch-hamre.com/ on 2026-11-23. */

body { font-family: var(--font-body); background: var(--color-paper); color: var(--color-ink); }
::selection { background: var(--color-purple); color: var(--color-white); }
:is(h1,h2,h3,h4,h5,h6,.text-h1,.text-h2,.text-h3,.text-h4,.text-h5,.text-h6) {
  font-family: var(--font-heading); font-weight: 400; line-height: var(--heading-leading); letter-spacing: -.025em; text-wrap: balance;
}
:is(h1,.text-h1) { font-size: var(--text-h1); }
:is(h2,.text-h2) { font-size: var(--text-h2); }
:is(h3,.text-h3) { font-size: var(--text-h3); }
:is(h4,.text-h4) { font-size: var(--text-h4); }
:is(h5,.text-h5) { font-size: var(--text-h5); }
:is(h6,.text-h6) { font-size: var(--text-h6); }
p:not(.ptx_quote), .text-body { font-size: var(--text-body); line-height: var(--body-leading); }
.text-small { font-size: var(--text-small); }
/* The animated manifesto remains a separate editorial quote, with space for its moving halves. */
.ptx_quote { font-family: var(--font-heading); }
.site-top-fade { position: fixed; inset: 0 0 auto; height: 25vh; height: 25svh; z-index: 70; pointer-events: none; }
.site-top-fade > div { position: absolute; inset: 0; pointer-events: none; backdrop-filter: blur(var(--fade-blur)); -webkit-backdrop-filter: blur(var(--fade-blur)); mask-image: linear-gradient(to top, transparent var(--fade-start), #000 var(--fade-end)); -webkit-mask-image: linear-gradient(to top, transparent var(--fade-start), #000 var(--fade-end)); }
/* Original wordmark, folding at the end of “bloch hamre”. */
.fnb_logo, .fnb_logo_text { align-items: center; }
.fnb_logo_mark { position: relative; width: 108px; height: 18px; overflow: hidden; flex-shrink: 0; }
.fnb_logo_mark .brand_wordmark { display: block; width: 316px; height: 18px; max-width: none; }
.fnb_logo_mark .brand_symbol { display: none; }
.fnb_logo_tail { width: 208px; height: 18px; }
.fnb_logo_tail_inner { position: relative; width: 208px; height: 18px; overflow: hidden; }
.fnb_logo_tail_inner img { position: absolute; right: 0; width: 316px; height: 18px; max-width: none; }
@media (max-width: 1050px) and (min-width: 768px) {
 .fnb_nav { grid-template-columns: 1fr auto auto; column-gap: 28px; }
}
@media (max-width: 767px) {
 .fnb_logo_mark { width: 32px; height: 32px; }
 .fnb_logo_mark .brand_wordmark { display: none; }
 .fnb_logo_mark .brand_symbol { display: block; width: 32px; height: 32px; filter: brightness(0) invert(1); }
 .fnb_logo_tail { display: none; }
}

/* Logo shuffle: stationary slots, with individual logos trading places vertically. */
.logo_shuffle { padding: clamp(80px, 10vw, 160px) clamp(20px, 2.8vw, 48px); background: var(--color-paper); color: var(--color-ink); }
.logo_shuffle_header { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(48px, 6vw, 96px); }
.logo_shuffle_header h2 { margin: 0; max-width: 18ch; }
.logo_shuffle_pause { border: 0; flex-shrink: 0; --mgb-pill: var(--color-ink); --mgb-pill-hover: var(--color-indigo); --mgb-ink: var(--color-white); --mgb-focus: var(--color-purple); }
.logo_shuffle_grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; align-items: center; }
.logo_shuffle_slot { position: relative; height: clamp(100px, 12vw, 160px); overflow: hidden; }
.logo_shuffle_slot:nth-child(n+6) { display: none; }
.logo_shuffle_slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 767px) {
 .logo_shuffle_header { align-items: start; flex-direction: column; }
 .logo_shuffle_grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
 .logo_shuffle_slot { height: 96px; }
 .logo_shuffle_slot:nth-child(n+4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
 .logo_shuffle_slot:nth-child(n) { display: block; }
 .logo_shuffle_pause { display: none; }
}

/* Keep the open header transparent even while a reverse/resize is settling. */
.fnb_wrap:not(.is-docked) .fnb_bg { opacity: 0; }
@media (max-width: 767px) {
 .fnb_wrap { --fnb-bar-h: 116px; }
 .fnb_nav { grid-template-columns: 1fr auto; grid-template-rows: 52px 52px; column-gap: 12px; }
 .fnb_logo { grid-column: 1 / -1; grid-row: 1; }
 .fnb_links { grid-column: 1; grid-row: 2; justify-self: start; }
 .fnb_cta { grid-column: 2; grid-row: 2; }
 .fnb_logo_mark { width: 108px; height: 18px; }
 .fnb_logo_mark .brand_symbol { display: none; }
 .fnb_logo_mark .brand_wordmark { display: block; width: 316px; height: 18px; }
 .fnb_logo_tail { display: inline-block; }
 .fnb_wrap.is-measuring .fnb_logo_tail { display: none; }
 .fnb_wrap:is(.is-measuring,.is-docked) .fnb_logo_mark { width: 76px; height: 13px; }
 .fnb_wrap:is(.is-measuring,.is-docked) .brand_wordmark { width: 222px; height: 13px; }
 .fnb_wrap:is(.is-measuring,.is-docked) .fnb_link { font-size: 12px; }
 .fnb_wrap:is(.is-measuring,.is-docked) .fnb_links { gap: 10px; }
 .fnb_wrap:is(.is-measuring,.is-docked) .fnb_contact_button { font-size: 12px; padding: 0 10px; }
 .wintr_title, .wintr_index { top: calc(var(--wintr-pad) + 116px); }
}
@media (max-width: 359px) {
 .fnb_logo_mark { width: 96px; height: 16px; }
 .fnb_logo_mark .brand_wordmark, .fnb_logo_tail_inner img { width: 280px; height: 16px; }
 .fnb_logo_tail, .fnb_logo_tail_inner { width: 184px; height: 16px; }
}
@media (max-width: 767px) {
 /* Keep the link metrics stable during docking; only their positions move. */
 .fnb_link { font-size: 12px; }
 .fnb_links { gap: 12px; }
 .fnb_wrap:is(.is-measuring,.is-docked) .fnb_links { gap: 12px; }
 .fnb_contact_button { font-size: 12px; padding: 0 10px; }
}

/* Annnimate Dual Scramble: retain original word widths, wrapping and colours. */
[data-anm-dual-scramble] .dual_scramble_word { position: relative; display: inline-block; white-space: nowrap; vertical-align: baseline; }
[data-anm-dual-scramble] .dual_scramble_spacer { display: inline; visibility: hidden; pointer-events: none; user-select: none; }
[data-anm-dual-scramble] .dual_scramble_layer { position: absolute; display: block; inset: 0; white-space: nowrap; overflow: visible; pointer-events: none; }
[data-anm-dual-scramble] .dual-scramble-color-1 { display: inline; color: var(--color-purple); }
[data-anm-dual-scramble] .dual-scramble-color-2 { display: inline; color: inherit; }

html, body { margin: 0; }
body { overflow-x: clip; }

/* Shared medium CTA size: between the former 48px and 72px buttons. */
body .magnetic_button_wrap { height:60px; min-height:60px; padding:0 30px; font-size:17px; }

/* One shared corner radius for framed photography across both pages. */
:root { --image-radius:20px; }
html body :is(.stw_card,.ptx_frame,.image_follow_list_images,.cases_touch_image,.work_image,.iih_slot,.photo_parallax_mobile_frame) { border-radius:var(--image-radius); overflow:hidden; }
html body :is(.work_image img,.ptx_img,.stw_card_img,.iih_img) { border-radius:inherit; }

/* Shared eyebrow typography. */
html body .site_content .eyebrow { font:400 20px/1.4 var(--font-body); letter-spacing:.12em; text-transform:uppercase; color:color-mix(in srgb,var(--color-paper) 70%,var(--color-ink)); }
html body .site_content .cs_label.eyebrow { color:color-mix(in srgb, var(--warm-50) 75%, transparent); }

.logo_shuffle .logo_shuffle_eyebrow { margin:0 0 48px; text-align:center; }

/* Enlarge each mark without changing the row's spacing or shuffle timing. */
.logo_shuffle_slot img{scale:1.2}
