/* Seam films: one white-and-black fluid behind the hero, between the light and dark sections, and under the closing call. */
.film{position:absolute;z-index:-1;pointer-events:none;overflow:hidden}
.film-video{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
.film-hero,.film-light{inset-block:0;left:50%;width:100vw;transform:translateX(-50%)}
.film-hero{-webkit-mask-image:linear-gradient(#000 93%,transparent);mask-image:linear-gradient(#000 93%,transparent)}
.film-light{mix-blend-mode:multiply;-webkit-mask-image:linear-gradient(transparent,#000 22%,#000 80%,transparent);mask-image:linear-gradient(transparent,#000 22%,#000 80%,transparent)}
.has-film-light{position:relative}

/* Hero type inverts against whichever fluid passes behind it; the primary action stays solid. */
.has-film .hero-copy{z-index:auto}
.has-film h1,.has-film .eyebrow,.has-film .hero-description,.has-film .hero-actions>.text-link,.has-film .hero-art figcaption,.has-film .hero-object-controls,.has-film .hero-bottom{mix-blend-mode:difference}
.has-film h1{color:#fff}
.has-film h1 span{color:#8b8b8b}
.has-film .eyebrow,.has-film .hero-description,.has-film .hero-art figcaption,.has-film .hero-object-controls,.has-film .hero-bottom{color:#a09e97}
.has-film .status-dot{background:#a09e97;box-shadow:0 0 0 4px rgb(255 255 255 / .06)}
.has-film .hero-actions>.button{box-shadow:0 0 0 1px rgb(255 255 255 / .3)}
.has-film .hero-actions>.text-link{color:#fff;text-decoration-color:rgb(255 255 255 / .45)}
.has-film .hero-bottom{border-top-color:rgb(255 255 255 / .16)}
@media(max-width:560px){.has-film .hero-actions>.button{mix-blend-mode:difference;color:#fff;box-shadow:none;text-decoration-color:rgb(255 255 255 / .55)}}

/* The seam itself: the page turns from white to black and back through a moving boundary. */
.seam{position:relative;height:clamp(230px,38vw,560px);overflow:hidden;pointer-events:none;background:linear-gradient(var(--paper) 50%,#111214 50%)}
.seam .film-video{-webkit-mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent);mask-image:linear-gradient(transparent,#000 16%,#000 84%,transparent)}
.seam-up{background:linear-gradient(#111214 50%,var(--paper) 50%)}
.seam-up .film-video{transform:rotate(180deg)}
.expertise{padding-bottom:44px}
.philosophy{padding-block:52px 44px}
.approach{padding-top:44px}

/* Each seam carries one oversized line that inverts with the fluid and drifts as the page scrolls. */
.seam-line{position:absolute;inset:0;display:grid;place-items:center;margin:0;white-space:nowrap;font-size:clamp(30px,10vw,210px);font-weight:600;line-height:1;letter-spacing:-.07em;word-spacing:.025em;color:#fff;mix-blend-mode:difference}
@keyframes seam-drift{from{transform:translateX(5%)}to{transform:translateX(-5%)}}
@supports (animation-timeline:view()){
  @media(prefers-reduced-motion:no-preference){
    .seam-line{animation:seam-drift linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
    .seam-up .seam-line{animation-direction:reverse}
  }
}

/* The film hero fills the first screen. */
@media(min-width:801px){.hero.has-film{min-height:calc(100svh - 82px)}}

/* A lens follows a fine pointer and inverts whatever lies beneath it. */
.lens{position:fixed;left:0;top:0;z-index:30;width:104px;height:104px;margin:-52px 0 0 -52px;border-radius:50%;background:#fff;mix-blend-mode:difference;pointer-events:none;opacity:0;transition:opacity .35s var(--ease);will-change:transform}
.lens.is-on{opacity:1}
@media(prefers-reduced-motion:reduce){.lens{transition:none}}

/* The header floats over the page and inverts with whatever passes beneath it. */
.site-header{background:none;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom-color:transparent;color:#fff;mix-blend-mode:difference}
.site-header .nav-contact{border-color:rgb(255 255 255 / .4)}
.site-header:has(.site-nav[data-open=true]){background:var(--paper);color:var(--ink);mix-blend-mode:normal}
.film-hero{top:-100px}
/* A blurred strip behind the header softens passing content, so the inverted navigation stays readable. */
.header-veil{position:fixed;inset:0 0 auto;z-index:9;height:108px;pointer-events:none;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);-webkit-mask-image:linear-gradient(#000 58%,transparent);mask-image:linear-gradient(#000 58%,transparent)}

/* The idea, stated large; the sentence fills with ink as it is read. */
.intro{display:block;padding-block:clamp(90px,12vw,190px)}
.intro-body{display:block}
.intro h2{font-size:clamp(38px,7.4vw,132px);line-height:1.02;letter-spacing:-.065em}
.intro-body>p{margin:clamp(30px,4vw,64px) 0 0 auto;max-width:440px}
@keyframes ink-fill{from{background-position:100% 0}to{background-position:0 0}}
@supports (animation-timeline:view()) and ((-webkit-background-clip:text) or (background-clip:text)){
  @media(prefers-reduced-motion:no-preference){
    .fill{background:linear-gradient(to right,var(--ink) 50%,#cfd0cb 50%) 100% 0/200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:ink-fill linear both;animation-timeline:view();animation-range:entry 35% cover 62%}
  }
}

/* The closing call grows, and the page ends in black beneath the wordmark. */
.contact h2{font-size:clamp(40px,9.4vw,170px);line-height:.98;letter-spacing:-.07em}
.contact{padding-bottom:60px}
.site-footer{padding-top:0;background:#111214;color:#e7e8e6}
.site-footer .footer-main{padding-top:10px}
.seam-close .seam-line{font-size:clamp(40px,13vw,260px);font-weight:650;text-transform:uppercase;letter-spacing:-.055em}
.site-footer .footer-main>p,.site-footer .footer-links{color:#9c9ea4}
.site-footer .footer-links a:hover,.site-footer .footer-links button:hover{color:#fff}

/* Opening: the first visit begins in black, and the page opens outward from the sphere. */
@property --open-1{syntax:'<length>';inherits:false;initial-value:0px}
@property --open-2{syntax:'<length>';inherits:false;initial-value:0px}
@property --open-3{syntax:'<length>';inherits:false;initial-value:0px}
.opening{--at-x:72%;--at-y:50%;position:fixed;inset:0;z-index:40;background:#0b0b0d;pointer-events:none;
  -webkit-mask-image:radial-gradient(circle at var(--at-x) var(--at-y),transparent calc(var(--open-1) - 1.5px),#000 var(--open-1)),radial-gradient(circle at calc(var(--at-x) - 16%) calc(var(--at-y) + 14%),transparent calc(var(--open-2) - 1.5px),#000 var(--open-2)),radial-gradient(circle at calc(var(--at-x) + 8%) calc(var(--at-y) - 18%),transparent calc(var(--open-3) - 1.5px),#000 var(--open-3));
  mask-image:radial-gradient(circle at var(--at-x) var(--at-y),transparent calc(var(--open-1) - 1.5px),#000 var(--open-1)),radial-gradient(circle at calc(var(--at-x) - 16%) calc(var(--at-y) + 14%),transparent calc(var(--open-2) - 1.5px),#000 var(--open-2)),radial-gradient(circle at calc(var(--at-x) + 8%) calc(var(--at-y) - 18%),transparent calc(var(--open-3) - 1.5px),#000 var(--open-3));
  -webkit-mask-composite:source-in;mask-composite:intersect;
  animation:opening 1.5s cubic-bezier(.66,0,.2,1) .3s both}
@keyframes opening{
  0%{--open-1:0px;--open-2:0px;--open-3:0px;opacity:1;visibility:visible}
  45%{--open-1:34vmax;--open-2:12vmax;--open-3:20vmax}
  90%{opacity:1}
  100%{--open-1:170vmax;--open-2:160vmax;--open-3:165vmax;opacity:0;visibility:hidden}
}
@media(max-width:560px){.opening{--at-x:66%;--at-y:72%}}
[data-opened] .opening{display:none}
@media(prefers-reduced-motion:reduce){.opening{display:none}}

/* Blanche / Noir: one white layer in difference mode floods out from the switch and inverts the whole page. */
.noir-flood{position:fixed;inset:0;z-index:8;background:#fff;mix-blend-mode:difference;pointer-events:none;clip-path:circle(0 at var(--flood-x,88%) var(--flood-y,41px));transition:clip-path 1s cubic-bezier(.66,0,.2,1)}
[data-theme=noir] .noir-flood{clip-path:circle(150vmax at var(--flood-x,88%) var(--flood-y,41px))}
@media(prefers-reduced-motion:reduce){.noir-flood{transition:none}}
/* Lit objects are turned back, so their light still falls from above. */
[data-theme=noir] :is(.sculpture-canvas,.sculpture,.expertise-canvas,.expertise-fallback,.sphere-canvas,.sphere-poster,.process-canvas,.process-art,.turnstile-container){filter:invert(1)}
.theme-switch{background:none;padding:13px 0;font:inherit;color:inherit;transition:opacity .2s}
.theme-switch:hover{opacity:.58}

/* How we work: the three illustrations become live forms; the images stay as the fallback and keep the layout. */
.approach{position:relative}
.process-canvas{position:absolute;pointer-events:none}
.process-live .process-art{visibility:hidden}

/* The stirred film sits over the playing film and fades out again once the fluid has settled. */
.film-stir{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .35s}
.film-stir.is-live{opacity:1}

/* Expertise holds still on large screens: copy at the left, the collection at the right, one discipline per stretch of scroll. */
@media(min-width:1100px) and (min-height:720px) and (prefers-reduced-motion:no-preference){
  .expertise{height:calc(100svh + 180vh);padding-block:0}
  .expertise>.shell{position:sticky;top:82px;height:calc(100svh - 82px);display:grid;grid-template-rows:auto minmax(0,1fr);padding-block:30px 26px}
  .expertise .section-heading .section-index{margin-bottom:14px}
  .expertise .section-heading h2{font-size:clamp(34px,3.4vw,52px)}
  .expertise-roundtable{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:minmax(0,1fr) auto;column-gap:4%;min-height:0}
  .expertise-sculpture{grid-area:1/2/2/3;height:auto;min-height:0;margin-top:0}
  .roundtable-controls{grid-area:2/2/3/3;margin-top:-22px}
  .discipline-details{grid-area:1/1/2/2;align-self:center;max-width:none;margin-inline:0;text-align:left}
  .discipline-panel h3{font-size:clamp(34px,3.6vw,54px)}
  .discipline-panel>p,.discipline-research,.discipline-research p{margin-inline:0}
  .discipline-research{padding-inline:0}
  .discipline-panel ul{justify-content:flex-start}
  .discipline-selector{grid-area:2/1/3/2;align-self:end;flex-wrap:wrap;justify-content:flex-start;gap:0 22px;margin-top:0}
}

/* Display type: no font files. Headings use the bold system gothic the owner picked (Hiragino Kaku Gothic W6 on Apple devices),
   with Helvetica and Arial bold standing in elsewhere. Body copy keeps the regular system font. */
:root{--display:"Hiragino Kaku Gothic ProN","Hiragino Sans","Helvetica Neue",Helvetica,Arial,sans-serif}
html:root :is(h1,h2,.discipline-panel h3,.perspective h3,.process-overview h3,.seam-line){font-family:var(--display);font-weight:700;font-synthesis:none;letter-spacing:-.055em;word-spacing:0}
/* This face runs wide, so the oversized lines are set a little smaller to stay inside the frame while they drift. */
html:root .seam-line{font-size:clamp(28px,9.2vw,196px)}
html:root .seam-close .seam-line{font-size:clamp(30px,10.4vw,215px);letter-spacing:-.04em}
@media(max-width:560px){html:root .hero h1{font-size:clamp(44px,14.6vw,70px);line-height:.94}}

/* Selected work. Without WebGL it is a plain two-column list of plates on black. */
.work{position:relative;overflow:clip;background:#0c0c0e;color:#f4f4f0;padding-block:clamp(80px,9vw,140px)}
.work .section-index,.work-note,.work-meta{color:#a2a3a8}
.work-head{display:grid;gap:14px;margin-bottom:clamp(36px,5vw,70px)}
.work-head .section-index{margin-bottom:6px}
.work-note{max-width:520px;line-height:1.7}
.work-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(34px,5vw,70px) 5%}
.work-title{display:flex;align-items:baseline;gap:.5em;padding:0;background:none;color:inherit;text-align:left;font-family:var(--display);font-size:clamp(26px,3vw,40px);font-weight:700;letter-spacing:-.05em;line-height:1.05}
.work-number,.work-meta,.work-hint,.work-view-meta{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:14px;font-weight:400;letter-spacing:.045em;line-height:1.7}
.work-number{color:#8b8d92}
.work-image{width:100%;border-radius:6px;margin-block:18px 16px}
/* Full-page captures are very tall; the plain list shows only their first screen. */
.work-image-page{aspect-ratio:16/10;object-fit:cover;object-position:top}
.work-text{margin-top:8px;line-height:1.7;color:#d9dad6;max-width:46ch}
@media(max-width:700px){.work-list{grid-template-columns:1fr}}

/* Live: the titles stand in ink, and each work surfaces through an opening in it. */
.work.is-live{display:grid;align-items:center;min-height:100svh}
.work-canvas{position:absolute;inset:0;width:100%;height:100%}
.is-live .work-layout{position:relative;z-index:1;transition:opacity .45s var(--ease)}
.is-live .work-detail{display:none}
.is-live .work-list{display:none}
.work-menu{display:block}
.work-menu li{overflow:hidden;padding-block:.04em .1em;margin-bottom:-.1em}
.is-live .work-title{font-size:clamp(34px,6.6vw,112px);letter-spacing:-.06em;line-height:1.02;color:#fff;mix-blend-mode:difference;transition:opacity .3s;animation:work-rise .72s var(--ease) both;animation-delay:calc(var(--order,0) * 70ms)}
@keyframes work-rise{from{transform:translateY(108%)}to{transform:none}}
.work-menu.is-leaving .work-title{animation:work-sink .26s cubic-bezier(.6,0,.9,.4) both;animation-delay:calc(var(--order,0) * 18ms)}
@keyframes work-sink{to{transform:translateY(-108%)}}
.is-live .work-number{font-size:14px;letter-spacing:.045em;color:inherit;opacity:.7;transform:translateY(-.9em)}
@media(hover:hover){.work-menu:has(.work-title:hover,.work-title:focus-visible) .work-title:not(:hover,:focus-visible){opacity:.32}}
.work-menu .work-title.is-empty{opacity:.24;cursor:default}
.work-count{align-self:flex-start;font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:14px;font-weight:400;letter-spacing:.045em;line-height:1.7;opacity:.7}
.work-path{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 22px;margin-bottom:clamp(14px,2vw,26px);color:#fff;mix-blend-mode:difference;font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:14px;letter-spacing:.045em;line-height:1.7;text-transform:uppercase}
.work-back{min-height:44px;padding:8px 0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;text-decoration:underline;text-decoration-color:rgb(255 255 255 / .5);text-underline-offset:6px}
.work-back:hover{text-decoration-color:#fff}
.work-here{opacity:.7}
.is-live .work-title:focus-visible{outline:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.12em}
.is-live .work-hint{display:block;margin-top:clamp(26px,4vw,54px);color:#fff;mix-blend-mode:difference;opacity:.72}
.work.is-open .work-layout{opacity:0;pointer-events:none}
.work-view{position:absolute;inset:auto 0 0;z-index:2;padding:clamp(120px,22vh,260px) max(28px,calc((100% - 1320px)/2)) clamp(28px,5vh,56px);background:linear-gradient(rgb(0 0 0 / 0),rgb(0 0 0 / .82) 62%);color:#fff}
.work-view-meta{color:#d4d5d1}
.work-view-name{font-family:var(--display);font-size:clamp(40px,6.4vw,104px);font-weight:700;letter-spacing:-.055em;line-height:1.02;margin-block:8px 14px}
.work-view-text{max-width:56ch;font-size:18px;line-height:1.65;color:#f0f0ec}
.work-view-actions{display:flex;flex-wrap:wrap;gap:8px 26px;margin-top:24px}
.work-view-actions button{min-height:44px;padding:8px 0;background:none;color:#fff;font-size:16px;text-decoration:underline;text-decoration-color:rgb(255 255 255 / .5);text-underline-offset:6px}
.work-view-actions button:hover{text-decoration-color:#fff}
/* The address of a live site arrives as its page begins to scroll. */
.work-link,.work-view-link{display:inline-flex;align-items:center;min-height:44px;color:#fff;font-size:16px;font-weight:600;text-decoration:underline;text-decoration-color:rgb(255 255 255 / .6);text-decoration-thickness:1px;text-underline-offset:6px}
.work-link:hover,.work-view-link:hover{text-decoration-color:#fff}
.work-link{margin-top:10px}
.work-view-link.is-arriving{animation:work-link-in .7s var(--ease) 1.4s both}
@keyframes work-link-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
[data-theme=noir] .work-canvas,[data-theme=noir] .work-image{filter:invert(1)}

/* The company, set like its own card: a black card on paper that leans toward the pointer and catches the light. */
.company{background:var(--paper);padding-block:clamp(90px,11vw,170px)}
.company .company-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);gap:clamp(40px,7vw,110px);align-items:center}
html:root .company h2{font-size:clamp(30px,3.7vw,62px);line-height:1.04}
.company .company-intro{max-width:46ch}
.company-card-wrap{perspective:1200px}
.company-card{position:relative;overflow:hidden;border-radius:18px;padding:clamp(22px,2.6vw,36px) clamp(22px,2.8vw,40px) clamp(14px,1.6vw,22px);background:#111214;color:#f4f4f0;box-shadow:0 34px 70px -30px rgb(17 18 20 / .55),0 2px 0 rgb(255 255 255 / .06) inset;transform:rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));transition:transform .6s var(--ease);will-change:transform}
.company-card.is-held{transition:transform .12s linear}
.company-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at var(--light-x,28%) var(--light-y,12%),rgb(255 255 255 / .17),rgb(255 255 255 / 0) 56%)}
.company-card-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:clamp(26px,4vw,58px)}
.company-card-mark{width:clamp(48px,5vw,72px);height:auto}
.company-card-time{font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace;font-size:14px;letter-spacing:.045em;line-height:1.7;color:#a2a3a8}
.company-card .company-record{margin-top:0;border-top-color:rgb(255 255 255 / .16)}
.company-card .company-record>div{border-bottom-color:rgb(255 255 255 / .12);padding-block:15px}
.company-card .company-record>div:last-child{border-bottom:0}
.company-card .company-record dt{color:#a2a3a8}
.company-card .company-record dd{color:#f4f4f0}
.company-card .representative-name{filter:invert(1)}
@media(max-width:900px){.company .company-layout{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.company-card{transition:none}}
[data-theme=noir] .company-card-mark{filter:invert(1)}

/* The Noir layer costs nothing until it is used. */
.noir-flood{visibility:hidden;transition:clip-path 1s cubic-bezier(.66,0,.2,1),visibility 0s 1s}
[data-theme=noir] .noir-flood{visibility:visible;transition:clip-path 1s cubic-bezier(.66,0,.2,1),visibility 0s}

/* ---------- Phones: sizes and layout ----------
   How things are drawn on phones (no blending, masking, or blurring of film) lives in plain.css. */
@media(max-width:760px){
  .seam{height:clamp(250px,70vw,360px)}
  html:root .seam-line{font-size:8.6vw}
  html:root .seam-close .seam-line{font-size:9.6vw}
  @keyframes seam-drift{from{transform:translateX(3%)}to{transform:translateX(-3%)}}
  /* The white film under the contact section is left out on phones: one fewer film to decode. */
  .film-light{display:none}
  .js .site-nav .theme-switch{text-align:left}

  /* Selected work: a plain ruled list with nothing behind it, and an opened work with its picture above its text. */
  .work.is-live{align-items:start;padding-block:104px 44px}
  .is-live .work-head{margin-bottom:28px}
  .work-menu li{padding-block:15px;margin:0;border-top:1px solid rgb(255 255 255 / .16)}
  .work-menu li:last-child{border-bottom:1px solid rgb(255 255 255 / .16)}
  .is-live .work-title{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:baseline;gap:0 6px;width:100%;font-size:clamp(25px,7.2vw,34px);line-height:1.12;letter-spacing:-.045em}
  .is-live .work-number{transform:none;opacity:.6}
  .work-count{align-self:baseline}
  .is-live .work-hint{margin-top:22px}
  .work-view{padding:20px 22px 24px;background:#0c0c0e}
  .work-view-name{font-size:clamp(28px,8.4vw,40px);margin-block:6px 10px}
  .work-view-text{font-size:16px;line-height:1.6}
  .work-view-actions{gap:0 22px;margin-top:12px}
}
