/* Final motion layer: restrained academic type with a responsive, continuous ocean. */
@font-face{font-family:"Dope Fortune";src:url('./fonts/dope-fortune.ttf') format('truetype');font-display:swap}

.site-header{background:linear-gradient(90deg,rgba(252,253,253,.97) 0%,rgba(246,251,253,.93) 39%,rgba(197,229,243,.91) 76%,rgba(144,198,222,.91));border:0;box-shadow:none;backdrop-filter:blur(16px)}
.site-nav a,.wordmark{color:#183d51}
.site-nav a:hover,.wordmark:hover{color:#0b658b}
.site-nav a::after,.wordmark::after{height:1px;bottom:-7px;background:#116989}
.ocean-panel{background:linear-gradient(90deg,#fafcfd 0%,#e3f1f7 46%,#8bc4df 100%)}
.ocean-panel::before{display:none}
.ocean-background{left:-35%;width:135%;mix-blend-mode:multiply;filter:grayscale(1) contrast(2) brightness(1.1)}
.about-wash{background:linear-gradient(90deg,#fcfdfd 0%,#fcfdfd 52%,rgba(235,247,251,.84) 59%,rgba(199,231,244,.32) 68%,rgba(122,189,219,.06) 83%,transparent)}
.ocean-panel::after{content:"";position:absolute;z-index:1;pointer-events:none;left:0;right:0;bottom:0;height:100px;background:linear-gradient(transparent,#eaf5f8)}
.about-hero,.ocean-panel{background-color:#d9edf6}
.about-hero-grid{padding-top:clamp(42px,6vh,78px)}
.hero-identity{display:flex;flex-direction:row;align-items:center;gap:24px;margin-bottom:29px}
.hero-headshot{width:145px;height:145px;box-shadow:0 0 0 3px rgba(255,255,255,.86),0 12px 24px rgba(31,73,102,.13)}
.hero-identity>div:last-child{min-width:0}
.hero-identity h2{font-size:clamp(33px,3.1vw,42px)}
.hero-identity p{font-size:15px}
.hero-contacts{gap:7px}
.hero-cv{min-width:0;gap:10px;padding:4px 0 3px;font-size:20px;line-height:1.1}
.hero-cv svg{width:18px;height:18px;flex:none}
.hero-email{display:inline-flex;align-items:center;gap:10px;font-size:19px;line-height:1.2;color:#153e5d}
.email-icon{width:20px;height:20px;transform:none}

/* The navigation cursor follows the paired, filtered circles of Codrops Sketch 013.
   It is decorative; keyboard focus and ordinary touch navigation stay native. */
.nav-cursor{display:none;position:fixed;left:0;top:0;z-index:40;pointer-events:none;overflow:visible;opacity:0;transform:translate3d(-150px,-150px,0)}
.nav-cursor circle{fill:none;stroke:#0c648b;stroke-width:1.25}
.nav-cursor-primary circle{stroke-width:1.4}
.nav-cursor-trail circle{stroke:rgba(13,104,143,.4);stroke-width:.85}
@media (any-pointer:fine){.nav-cursor{display:block}.site-header .wordmark,.site-header .site-nav a{cursor:none}}

/* Resume typography follows a familiar degree / institution / dates order. */
.cv-education-entry{display:grid;grid-template-columns:minmax(95px,118px) 1fr;gap:20px;align-items:start}
.cv-education-entry .cv-years{padding-top:7px;white-space:nowrap;font:600 13px/1.35 var(--font-ui);color:#536c76;letter-spacing:.01em}
.cv-education-entry h4{margin:0 0 5px;font:500 20px/1.25 var(--font-editorial)}
.cv-education-entry p{margin:0;color:#5b6865;font:400 15px/1.42 var(--font-ui)}
.cv-entry{padding-block:15px 17px}
.cv-section .section-intro{margin-bottom:21px}

/* A consistent printed sequence replaces the oversized floating proposal arrows. */
.mechanism{column-gap:21px;border-top:1px solid #b3c7c4;border-bottom:1px solid #b3c7c4}
.mechanism>div{min-height:118px;padding:18px 8px 14px 0}
.mechanism strong{min-height:40px;font:500 17px/1.24 var(--font-editorial)}
.mechanism span{font:400 12px/1.4 var(--font-ui)}
.mechanism>div:not(:last-child)::after{content:"→";top:29px;right:-16px;width:22px;text-align:center;color:#456e71;font:400 18px/1 Georgia,serif}
.proposal-index a{font-size:14px}
.proposal-index a.is-active{color:#163744;border-left-color:#1e596c;background:linear-gradient(90deg,rgba(133,187,196,.16),transparent);font-weight:700}

/* The three studies move in a compact arc. Frosted neighbours stay visible
   and the center panel retains sufficient space for the complete question. */
.sop-section{padding:62px 0 72px;background:radial-gradient(ellipse at 50% 20%,#f8fcfc,#eaf3f5 72%,#e5f0f1)}
.sop-section .section-intro{margin-bottom:10px}
.direction-list{height:445px;perspective:1350px}
.direction-panel{width:min(640px,56vw);height:390px;top:15px;opacity:.43;border-radius:18px;background:rgba(231,243,247,.56);border:1px solid rgba(255,255,255,.84);box-shadow:0 20px 45px rgba(36,81,100,.12),inset 0 1px rgba(255,255,255,.8);backdrop-filter:blur(22px) saturate(1.25)}
.direction-panel.is-current{opacity:1;box-shadow:0 29px 59px rgba(37,78,95,.2),inset 0 1px rgba(255,255,255,.7)}
.direction-panel.is-prev{transform:translateX(calc(-50% - min(30vw,390px))) translateY(16px) rotateY(12deg) scale(.85)}
.direction-panel.is-next{transform:translateX(calc(-50% + min(30vw,390px))) translateY(16px) rotateY(-12deg) scale(.85)}
.direction-panel.is-prev .direction-copy,.direction-panel.is-next .direction-copy{opacity:.5;filter:blur(1px)}
.direction-panel.is-current .direction-copy{opacity:1;filter:none}
.direction-copy{width:78%;padding:26px 29px 25px;transition:opacity .5s ease,filter .5s ease}
.direction-copy h3{font-size:clamp(39px,3.8vw,52px);margin:13px 0 13px}
.direction-copy .direction-question{font-size:clamp(18px,1.65vw,21px);line-height:1.25;margin-bottom:9px}
.direction-copy p{font-size:13px;line-height:1.46}
.direction-copy .read-sop{font-size:13px;padding-top:5px}
.direction-art{opacity:.4}
.direction-panel.is-current .direction-art{opacity:.72}
.direction-panel::after{background:linear-gradient(90deg,var(--direction-bg) 0%,var(--direction-bg) 48%,rgba(255,255,255,.12) 100%)}

/* The user-supplied newspaper image contributes the torn print and real paper
   grain; the overprint keeps the original designed pages readable. */
.newspaper-feature{background:linear-gradient(rgba(232,220,197,.78),rgba(232,220,197,.78)),url('./assets/newspaper-reference.jpg') center/cover;box-shadow:0 13px 35px rgba(65,47,30,.17)}
.newspaper-feature .feature-heading h3{font:400 clamp(49px,5vw,73px)/.95 "Dope Fortune",Georgia,serif;letter-spacing:0;text-transform:none;color:#33231e}
.newspaper-feature .feature-heading h3::first-letter{font-size:1em}
.newspaper-feature .feature-heading p{font:400 16px/1.45 var(--font-editorial);color:#574c3d}
.newspaper-stage{background:url('./assets/newspaper-reference.jpg') center/cover no-repeat,#dfcba8;box-shadow:inset 0 0 55px rgba(80,54,33,.17)}
.newspaper-stage::before{opacity:.23;filter:contrast(1.1)}
.newspaper-stage::after{inset:-4%;background:radial-gradient(ellipse 16% 80% at -2% 42%,rgba(218,121,78,.28),transparent),radial-gradient(ellipse 13% 74% at 102% 30%,rgba(255,202,135,.18),transparent);filter:blur(28px)}

/* At the close, individual letters hang on plain black threads. */
.contact-chimes{min-height:340px;padding:35px 0 39px;background:linear-gradient(180deg,#eff8fa,#d6ecf3 61%,#acd6e6)}
.chime-water{opacity:.68;filter:none}
.chime-layout{max-width:900px}
.chime-layout p{font-size:18px;color:#203f4b}
.chime-layout .chime-lines{height:226px;width:min(780px,100%);color:#141819;border:0}
.chime-letter{height:210px;max-width:none}
.chime-letter i{height:164px!important;width:1px;background:#15191a}
.chime-lines i::after,.chime-letter b::before{content:none!important;display:none!important}
.chime-letter b{padding:7px 0 0!important;min-width:0!important;height:auto!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;font:400 clamp(13px,1.45vw,17px)/1 var(--font-ui);color:#111}
.chime-lines:hover .chime-letter b{background:transparent}

/* Scroll-linked motifs echo the section's arrival without obscuring prose. */
.cv-section,.proposal,.sop-section,.work-section{position:relative;isolation:isolate}
.cv-section::before,.proposal::before,.sop-section::before,.work-section::before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:calc(var(--scene-progress,0) * .24);background:radial-gradient(ellipse 54% 22% at calc(18% + var(--scene-progress,0) * 40%) 4%,rgba(99,164,184,.18),transparent)}
.motion-char{display:inline-block;white-space:pre;will-change:filter,transform,opacity}
.motion-word-group{display:inline-block;white-space:nowrap}
.motion-word{display:inline;box-decoration-break:clone;transition:background-color .18s linear,color .18s linear}
.scroll-blur-heading,.scroll-highlight-copy{visibility:visible}

@media(max-width:950px){
  .direction-panel{width:min(700px,74vw)}
  .direction-panel.is-prev{transform:translateX(calc(-50% - 48vw)) translateY(16px) rotateY(10deg) scale(.83)}
  .direction-panel.is-next{transform:translateX(calc(-50% + 48vw)) translateY(16px) rotateY(-10deg) scale(.83)}
}
@media(max-width:750px){
  .site-header{background:linear-gradient(90deg,rgba(252,253,253,.97),rgba(185,223,240,.92))}
  .ocean-background{left:-15%;width:115%}
  .about-wash{background:linear-gradient(180deg,#fcfdfd 0%,#fcfdfd 66%,rgba(217,239,247,.55) 82%,rgba(129,193,223,.08))}
  .hero-identity{gap:16px}
  .hero-headshot{width:112px;height:112px}
  .hero-identity h2{font-size:33px}
  .hero-email{font-size:16px}
  .direction-list{height:550px}
  .direction-panel{width:84vw;height:515px}
  .direction-panel.is-prev{transform:translateX(calc(-50% - 73vw)) translateY(18px) rotateY(9deg) scale(.84)}
  .direction-panel.is-next{transform:translateX(calc(-50% + 73vw)) translateY(18px) rotateY(-9deg) scale(.84)}
  .direction-copy{width:100%;padding:28px 24px}
  .direction-copy h3{font-size:clamp(40px,8vw,51px)}
  .direction-copy p{font-size:14px}
  .mechanism{column-gap:0}
  .mechanism>div:not(:last-child)::after{display:none}
  .contact-chimes{min-height:285px}
  .chime-layout .chime-lines{height:180px}
  .chime-letter{height:160px}
  .chime-letter i{height:127px!important}
  .chime-letter b{font-size:clamp(10px,2.5vw,14px)}
}
@media(max-width:530px){
  .hero-headshot{width:99px;height:99px}
  .hero-identity{gap:13px}
  .hero-identity h2{font-size:29px}
  .hero-identity p{font-size:12px}
  .hero-cv{font-size:17px}
  .hero-email{font-size:13px;gap:5px}
  .email-icon{width:16px;height:16px}
  .cv-education-entry{grid-template-columns:1fr;gap:5px}
  .cv-education-entry .cv-years{padding-top:0}
  .newspaper-feature .feature-heading h3{font-size:48px}
}
@media(prefers-reduced-motion:reduce){.nav-cursor{display:none}.site-header .wordmark,.site-header .site-nav a{cursor:auto}.motion-char{filter:none!important;opacity:1!important;transform:none!important}.motion-word{color:inherit!important;background:none!important}}
