@font-face{font-family:"Penny Lane Corroded";src:url('./fonts/penny-lane-corroded-bold.ttf') format('truetype');font-display:swap}

/* The navigation is a clear pane: the current section supplies its colour. */
.site-header{position:fixed;inset:0 0 auto;height:74px;background:transparent!important;border:0;box-shadow:none;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transition:color .3s ease}
.site-header.on-dark .wordmark,.site-header.on-dark .site-nav a{color:#f6eee6;text-shadow:0 1px 9px rgba(0,0,0,.55)}
.site-header.on-dark .nav-cursor circle{stroke:#f4e1d1}
.about-hero{min-height:100svh;background:linear-gradient(90deg,#eaf5f8 0%,#b4ddeb 58%,#8bc4df 100%)}
.ocean-panel{background:linear-gradient(90deg,#eaf5f8 0%,#b4ddeb 58%,#8bc4df 100%)}
.about-hero-grid{min-height:100svh;padding-top:calc(74px + clamp(42px,6vh,78px))}
.about-wash{background:linear-gradient(90deg,rgba(231,244,249,.89) 0%,rgba(228,242,248,.84) 23%,rgba(207,234,244,.7) 42%,rgba(170,218,236,.24) 68%,transparent 100%)}
.about-wash::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse 30% 25% at 33% 45%,rgba(228,243,248,.96),rgba(227,242,248,.7) 57%,transparent 100%)}
.ocean-panel::after{height:80px;background:linear-gradient(transparent,#eef5f6)}
.about-fish-layer{position:absolute;inset:0;z-index:1;width:100%;height:100%;pointer-events:none}
.about-hero-copy{position:relative;text-shadow:0 1px 2px rgba(227,244,249,.35)}
.about-hero-copy>p{color:#153c4b}

/* A CV reads in regular columns, with dates visible at a glance. */
.cv-timeline-entry{display:grid;grid-template-columns:105px minmax(0,1fr);gap:18px;align-items:start}
.cv-timeline-entry .cv-years{padding-top:5px;white-space:nowrap;font:600 13px/1.4 var(--font-ui);color:#4c6872}
.cv-timeline-entry h4,.cv-research-entry h4{font:500 19px/1.28 var(--font-editorial);margin:0 0 4px}
.cv-timeline-entry p,.cv-research-entry p{font:400 14px/1.48 var(--font-ui);color:#52636a;margin:0}
.cv-research-entry{padding:17px 0 19px}
.cv-research-entry p{margin-top:6px}
.cv-teaching .cv-teaching-grid{display:block}
.cv-teaching .cv-entry{padding:17px 0 20px}
.cv-teaching .cv-course-list{margin:11px 0 0;padding-left:18px;font:400 15px/1.5 var(--font-editorial)}
.cv-teaching .cv-course-list li+li{margin-top:3px}
.cv-media .cv-entry{padding:14px 0 19px}
.cv-media .cv-entry h4{margin:0 0 4px}

/* Text highlighting is reserved for named concepts, not entire paragraphs. */
.proposal-body .article-lead{font-weight:400}
.key-term{font-weight:500;box-decoration-break:clone;padding:0 .04em;color:inherit;transition:color .16s linear}
.mechanism{position:relative;column-gap:0;border:0;border-top:1px solid #b7cbc9;margin:46px 0 63px;padding-top:21px}
.mechanism::before{content:"";position:absolute;z-index:0;left:20px;right:20px;top:40px;height:1px;background:#8eaeb0}
.mechanism::after,.mechanism>div::after{content:none!important;display:none!important}
.mechanism>div{position:relative;z-index:1;min-height:154px;padding:0 15px 9px 0}
.mechanism>div i{display:grid;place-items:center;width:39px;height:39px;border:1px solid #6e989f;border-radius:50%;background:#f0f6f5;color:#355e68;font:500 12px var(--font-ui);font-style:normal;margin:0 0 16px}
.mechanism strong{min-height:0;margin:0 0 5px;font:500 17px/1.24 var(--font-editorial)}
.mechanism span{max-width:15ch;font:400 13px/1.38 var(--font-ui)}
.mechanism-feedback{grid-column:1/-1;border-top:1px dotted #aac2c2;padding:12px 0 0;margin:0;font:italic 14px/1.4 var(--font-editorial);color:#526f73}
.method-list span{font:500 17px/1.3 var(--font-editorial);color:#244f60}

/* gradientslider: the centre study and background share a changing palette. */
.sop-section{isolation:isolate;background:#eef5f7;transition:background-color .5s ease}
.sop-gradient-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:-1}
.direction-panel{background:rgba(246,252,252,.64);border-color:rgba(255,255,255,.8);backdrop-filter:blur(18px) saturate(1.13)}
.direction-panel.direction-one{--direction-bg:rgba(219,240,247,.52);--direction-ink:#173d54}
.direction-panel.direction-two{--direction-bg:rgba(226,229,246,.54);--direction-ink:#303d61}
.direction-panel.direction-three{--direction-bg:rgba(220,239,227,.54);--direction-ink:#214f4b}
.direction-panel::after{background:linear-gradient(90deg,rgba(248,252,252,.96) 0%,rgba(248,252,252,.84) 51%,rgba(248,252,252,.04) 91%)}
.direction-panel.is-prev,.direction-panel.is-next{filter:saturate(.78)}
.direction-art{position:absolute;right:-2%;top:0;width:63%;height:100%;opacity:.85!important;background-position:center;background-size:cover;filter:none!important}
.direction-art>*{display:none!important}
.direction-one .direction-art{background-image:url('./assets/direction-platform.svg')}
.direction-two .direction-art{background-image:url('./assets/direction-human-ai.svg')}
.direction-three .direction-art{background-image:url('./assets/direction-culture.svg')}
.direction-copy{position:relative;z-index:2}
.direction-panel.is-prev .direction-copy,.direction-panel.is-next .direction-copy{filter:blur(.5px);opacity:.55}
.sop-dialog{position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.67);background:rgba(246,249,249,.95);backdrop-filter:blur(22px)}
.dialog-body{max-height:calc(92vh - 60px);overflow:auto;scrollbar-width:none;padding-right:clamp(38px,8vw,95px)}
.dialog-body::-webkit-scrollbar{display:none}
.curved-scrollbar{position:absolute;z-index:3;top:76px;right:12px;bottom:15px;width:14px;border:1px solid rgba(92,114,122,.25);border-radius:22px;background:rgba(210,222,226,.25);cursor:grab}
.curved-scrollbar:active{cursor:grabbing}
.curved-scrollbar span{display:block;position:absolute;left:2px;top:2px;width:8px;min-height:36px;border-radius:18px;background:linear-gradient(90deg,rgba(47,89,105,.6),rgba(91,134,148,.75));box-shadow:inset 1px 0 rgba(255,255,255,.45)}

/* UnrollingImages: the paper opens with scroll, then LeafThrough bends each page. */
.work-section>.section-intro h2{font:400 clamp(53px,5.3vw,75px)/1.12 "Penny Lane Corroded",Georgia,serif;letter-spacing:.005em;color:#332b27;text-shadow:1px 1px rgba(120,95,73,.21);filter:contrast(.91)}
.newspaper-feature{clip-path:polygon(0 .5%,3% 0,11% .6%,24% .1%,39% .5%,56% 0,70% .4%,84% 0,100% .6%,99.7% 25%,100% 57%,99.5% 78%,100% 99.6%,86% 100%,68% 99.6%,51% 100%,33% 99.7%,17% 100%,0 99.6%);background:linear-gradient(rgba(233,220,195,.71),rgba(233,220,195,.71)),url('./assets/newspaper-reference.jpg') center/cover;box-shadow:0 18px 39px rgba(61,48,34,.14)}
.newspaper-feature .feature-heading h3{font-size:clamp(47px,4.6vw,64px);line-height:1.08;text-shadow:1px 1px rgba(116,82,59,.22);filter:contrast(.88)}
.newspaper-stage{position:relative;min-height:690px;clip-path:polygon(0 1%,2% .5%,9% 1%,22% .4%,37% .8%,58% .3%,76% .9%,91% .5%,100% 1%,99.7% 26%,100% 68%,99.7% 99%,84% 99.6%,64% 99%,39% 99.6%,17% 99.1%,0 99.8%)}
.newspaper-reader{width:min(960px,100%);height:min(630px,65vw);min-height:470px;position:relative;z-index:2;transform-origin:top center;transform:perspective(1200px) rotateX(var(--unroll-angle,-48deg)) scaleY(var(--unroll-scale,.27));clip-path:inset(0 0 var(--unroll-clip,72%) 0);opacity:var(--unroll-opacity,.36);filter:drop-shadow(0 20px 20px rgba(51,39,24,.29))}
.newspaper-reader [data-leafthrough]{border-radius:1px}
.newspaper-reader.reader-fallback>[data-leafthrough]{display:none}
.reader-fallback-image{height:100%;max-width:100%;margin:auto;object-fit:contain}
.newspaper-controls{margin-bottom:40px}

/* SlidingHeaderLayout: opening contact sheet sends the roll header upward. */
.film-stage .film-bench{max-height:600px;opacity:1;transition:max-height .85s cubic-bezier(.18,.75,.2,1),opacity .42s ease,transform .75s cubic-bezier(.18,.75,.2,1)}
.film-stage.is-contact-sheet .film-bench{display:flex;max-height:0;min-height:0;opacity:0;overflow:hidden;transform:translateY(-90px);padding:0;margin:0;pointer-events:none}
.film-contact-sheet:not([hidden]){animation:sheet-enter .9s cubic-bezier(.16,.75,.2,1) both}
.film-contact-sheet:not([hidden]) .contact-frame{animation:frame-enter .9s cubic-bezier(.17,.76,.2,1) both;animation-delay:var(--frame-delay,0ms)}
@keyframes sheet-enter{from{opacity:0;transform:translateY(80px)}to{opacity:1;transform:translateY(0)}}
@keyframes frame-enter{from{opacity:0;transform:translateY(33px) rotateX(-13deg)}to{opacity:1;transform:translateY(0) rotateX(0)}}
.film-scroll-light{position:absolute;inset:0;z-index:5;width:100%;height:100%;pointer-events:none;opacity:0;transition:opacity .45s ease}
.film-stage.is-contact-sheet .film-scroll-light{opacity:1}

/* Plain rope strands, staggered like a closely hung bead curtain. */
.chime-layout .chime-lines{width:min(650px,100%);height:242px;gap:0;justify-content:center}
.chime-letter{flex:0 1 30px;height:225px;align-items:center;transform-origin:top center}
.chime-letter i{width:2px!important;height:var(--thread-length,172px)!important;background:repeating-linear-gradient(180deg,#202222 0 4px,#626767 5px,#242626 6px 10px)!important;box-shadow:1px 0 0 rgba(255,255,255,.25),-1px 0 0 rgba(0,0,0,.12)}
.chime-letter:nth-child(5n+2){--thread-length:190px}
.chime-letter:nth-child(6n+3){--thread-length:153px}
.chime-letter:nth-child(7n+5){--thread-length:201px}
.chime-letter b{padding-top:5px!important;line-height:1.05}

@media(max-width:750px){
  .site-header{min-height:82px;height:82px}
  .about-hero-grid{min-height:100svh;padding-top:118px}
  .about-wash{background:linear-gradient(180deg,rgba(231,244,249,.9) 0%,rgba(231,244,249,.85) 46%,rgba(210,236,246,.55) 73%,rgba(141,200,225,.1))}
  .about-wash::before{background:radial-gradient(ellipse 67% 21% at 43% 54%,rgba(228,243,248,.96),transparent 100%)}
  .cv-timeline-entry{grid-template-columns:1fr;gap:3px}
  .cv-timeline-entry .cv-years{padding:0}
  .mechanism{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mechanism::before{display:none}
  .mechanism>div{min-height:126px;padding:0 12px 12px 0}
  .mechanism>div i{margin-bottom:9px}
  .direction-art{width:90%;right:-34%;opacity:.42!important}
  .newspaper-stage{min-height:510px}
  .newspaper-reader{height:470px;min-height:0}
  .chime-layout .chime-lines{height:194px}
  .chime-letter{height:185px;flex-basis:18px}
  .chime-letter i{height:calc(var(--thread-length,172px) * .75)!important}
}
@media(max-width:530px){
  .about-hero-copy>p{background:rgba(228,242,248,.14)}
  .direction-art{right:-53%;width:115%;opacity:.29!important}
  .newspaper-stage{min-height:390px;padding:12px}
  .newspaper-reader{height:360px}
  .work-section>.section-intro h2{font-size:48px}
}
@media(prefers-reduced-motion:reduce){.newspaper-reader{transform:none;clip-path:none;opacity:1}.film-contact-sheet:not([hidden]),.film-contact-sheet:not([hidden]) .contact-frame{animation:none}.film-stage .film-bench{transition:none}}
